package com.kj.misc.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
public class MiscValue {
	
	public static MiscValue at(double value) {
		return MiscValue.at(System.currentTimeMillis(), value);
	}
	
	public static MiscValue at(long birth, double value) {
		return new MiscValue(birth, value);
	}

	@Getter
	private long birth;
	
	@Getter
	private double value;
	
}
